package cn.base.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import cn.base.service.ContService;

@Controller
@RequestMapping("/cont")
public class ContController {

	@Autowired
	private ContService contService;
	
	@RequestMapping("/test")
	public void test(){
		System.out.println(contService.findAll().size());
	}
}
